﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Inscrever.aspx.cs" Inherits="PerfilEmpreendedor.FrontEnd.Inscrever" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server">
    </ext:ResourceManager>
    <ext:Viewport ID="Viewport1" runat="server">
        <Items>
            <ext:ColumnLayout ID="ColumnLayout1" runat="server" FitHeight="true">
                <Columns>
                    <ext:LayoutColumn ColumnWidth="0.2">
                        <ext:Panel ID="Panel1" runat="server" Title="Perfil Empreendedor">
                            <Items>
                                <ext:Image ID="Image1" runat="server" ImageUrl="Images/SplashLogin.png">
                                </ext:Image>
                            </Items>
                        </ext:Panel>
                    </ext:LayoutColumn>
                    <ext:LayoutColumn ColumnWidth="0.8">
                        <ext:FormPanel ID="FormPanel1" runat="server" Title="Nova conta" Padding="20">
                            <Items>
                                <ext:DisplayField ID="DisplayField1" runat="server" Text="Preencha os campos abaixo e clique em enviar.">
                                </ext:DisplayField>
                                <ext:TextField ID="txtLogin" FieldLabel="Login" runat="server" Width="400" AllowBlank="false"
                                    BlankText="Login é obrigatório.">
                                </ext:TextField>
                                <ext:TextField ID="txtSenha" runat="server" InputType="Password" FieldLabel="Senha"
                                    AllowBlank="false" BlankText="Senha é obrigatória." Width="400" />
                                <ext:Button ID="btnAlterarAvatar" runat="server" Text="Selecione um avatar" FieldLabel="Avatar"
                                    Icon="UserBrown">
                                    
                                    <Menu>
                                        <ext:Menu ID="menuAvatar">
                                            <Items>
                                            </Items>
                                            <DirectEvents>
                                                <ItemClick OnEvent="SelecionarAvatar">
                                                    <ExtraParams>
                                                        <ext:Parameter Name="id" Value="menuItem.text" Mode="Raw" />
                                                    </ExtraParams>
                                                </ItemClick>
                                            </DirectEvents>
                                        </ext:Menu>
                                    </Menu>
                                </ext:Button>
                                <ext:Image ID="imgAvatar" runat="server" Hidden="true">
                                </ext:Image>
                                <ext:Hidden ID="hiddenAvatar" runat="server">
                                </ext:Hidden>
                            </Items>
                            <Buttons>
                            <ext:Button ID="btnVoltar" Icon=ArrowLeft Text="Voltar" NavigateUrl="Login.aspx" />
                                <ext:Button ID="btnEnviar" Text="Enviar" Icon="Accept">
                                    <DirectEvents>
                                        <Click OnEvent="Salvar">
                                            <EventMask ShowMask="true" Msg="Aguarde, enviando os dados..." />
                                        </Click>
                                    </DirectEvents>
                                </ext:Button>
                            </Buttons>
                        </ext:FormPanel>
                    </ext:LayoutColumn>
                </Columns>
            </ext:ColumnLayout>
        </Items>
    </ext:Viewport>
    </form>
</body>
</html>
